﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <DataTemplate x:Key="pointerInfoTemplateNormal">
        <StackPanel Orientation="Vertical" >
            <Grid>
                <Rectangle Height="15" Width="40" Fill="{Binding Brush}"></Rectangle>
                <TextBlock Foreground="White" Opacity="1" HorizontalAlignment="Center"  Text="{Binding Value.Y}"></TextBlock>
            </Grid>
            <Path Data="F1M769.154,109.485L782.701,141.488 796.253,173.485 769.154,173.485 742.055,173.485 755.607,141.488 769.154,109.485z" Stretch="Uniform" Fill="{Binding Brush}" Width="14" Height="14" Margin="0,0,0,0" RenderTransformOrigin="0.5,0.5">
                <Path.RenderTransform>
                    <RotateTransform Angle="180"></RotateTransform>
                </Path.RenderTransform>
            </Path>
        </StackPanel>
    </DataTemplate>
    <DataTemplate x:Key="pointerInfoTemplateOpp">
        <StackPanel Orientation="Vertical">

            <Path Data="F1M769.154,109.485L782.701,141.488 796.253,173.485 769.154,173.485 742.055,173.485 755.607,141.488 769.154,109.485z" Stretch="Uniform" Fill="{Binding Brush}" Width="14" Height="14" Margin="0,0,0,0" RenderTransformOrigin="0.5,0.5">
            </Path>
            <Grid>
                <Rectangle Height="15" Width="40" Fill="{Binding Brush}"></Rectangle>
                <TextBlock Foreground="White" Opacity="1" HorizontalAlignment="Center"  Text="{Binding Value.Y}"></TextBlock>
            </Grid>
        </StackPanel>
    </DataTemplate>
</ResourceDictionary>